package com.ticket.sass.admin.dto.output.coupons.code;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ticket.sass.common.entity.tenant.enums.CouponUserMapUseState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author ywb
 * @date 2024-07-04 11:17
 */
@Data
@ApiModel
public class CouponCodeListOutput {
    @ApiModelProperty(value = "自增ID")
    private Long id;
    
    @ApiModelProperty(value = "批次号")
    private String batchNum;
    
    @ApiModelProperty(value = "兑换码")
    private String code;
    
    @ApiModelProperty(value = "是否已取")
    @TableField("is_take")
    private Boolean take;
    
    
    private CouponUserMapUseState useState;
    
    @ApiModelProperty
    public LocalDateTime createdAt;
}
